//
//  YQHomeListCell.m
//  EPA--1
//
//  Created by lanou3g on 16/4/20.
//  Copyright © 2016年 刘永庆. All rights reserved.
//

#import "YQHomeListCell.h"
#import "YQHomeListModel.h"
#import "UIImageView+WebCache.h"
@interface YQHomeListCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLable;
@property (weak, nonatomic) IBOutlet UILabel *contentLable;
@property (weak, nonatomic) IBOutlet UIImageView *imageView1;


@end
@implementation YQHomeListCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)layoutSubviews
{
    self.titleLable.text = self.model.title;
    self.contentLable.text = self.model.content;
    [self.imageView1 sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
